<h3>Maskapai</h3>
<p>
    <?php foreach ($access->result() as $a): ?>
        <?php echo get_add($a->bank_add, 'airlines/add') ?>
    <?php endforeach ?>
</p>

<table class="data">
    <tr class="data">
        <th class="data" width="30px">No</th>
        <th class="data">Maskapai</th>
        <th class="data">Gambar</th>
        <th class="data" width="75px">Aksi</th>
    </tr>
    <?php foreach ($rows as $airline): ?>
        <tr class="data">
            <td class="data" width="30px"><?php echo $i ?></td>
            <td class="data"><?php echo $airline->name ?></td>
            <td class="data"><?php echo $airline->image ?></td>
            <td class="data" width="75px">
        <center>
            <?php foreach ($access->result() as $a): ?>
                <?php echo get_edit($a->bank_edit, 'airlines/edit/', $airline->id) ?>&nbsp;&nbsp;
                <?php echo get_delete($a->bank_delete, 'airlines/delete/', $airline->id) ?>&nbsp;&nbsp;
            <?php endforeach ?>
        </center>
    </td>
    <?php $i++ ?>
<?php endforeach ?>
</tr>

</table>

